cmake_minimum_required(VERSION 3.0)

project(stun)

# set(CMAKE_C_COMPILER "/usr/bin/clang")
# set(CMAKE_CXX_COMPILER "/usr/bin/clang++")

add_definitions(-isystem)

set(CMAKE_CXX_STANDARD 11) # 设置C++标准为C++11
set(CMAKE_CXX_STANDARD_REQUIRED TRUE) # 必须使用C++11标准
# add_definitions(-std=c++11 -g)
# for sublime text clangd
# set(CMAKE_EXPORT_COMPILE_COMMANDS ON)


set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

add_subdirectory(./turn_server_main)
add_subdirectory(./turn_client_main)
add_subdirectory(./stun_server_main)
add_subdirectory(./unit_test)



